package com.example.administrator.maizuofilm.notshow;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.administrator.maizuofilm.BaseFragment;
import com.example.administrator.maizuofilm.R;

import butterknife.ButterKnife;
import butterknife.InjectView;

/**
 * Created by Administrator on 2016/7/12.
 */
public class NotShowFragment extends BaseFragment implements NotShowContract.NotShowView {
    @InjectView(R.id.recycler_notshow_movie)
    RecyclerView recyclerNotshowMovie;
    private NotShowPresenter mNotShowPresenter;
    private NotShowModel mNotShowModel;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_notshow, null);
        ButterKnife.inject(this, view);
        LinearLayoutManager linearLayoutManager=new LinearLayoutManager(getActivity());
        linearLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);
        recyclerNotshowMovie.setLayoutManager(linearLayoutManager);

        return view;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        ButterKnife.reset(this);
    }
}
